package com.class04.ping;

import redis.clients.jedis.Jedis;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2024/1/3 14:25
 */
public class Ping {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("localhost", 6379);
//        查看服务是否运行
        System.out.println("服务器正在运行"+jedis.ping());
    }
}
